package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    //查询当前日期设置的预约数量
    public long findCountByOrderDate(Date orderDate);
    //修改当前日期的 预约数
    public void editNumberByOrderDate(OrderSetting orderSetting);
    //添加预约数(单个或者批量添加(通过upload上传Excel表格批量设置预约数))
    public void add(OrderSetting orderSetting);
    //获取当前月份的每日预约数是否设置情况,会先到也页面上
    public List<OrderSetting> getOrderSettingByMonth(Map<String, String> map);
    //根据日期查询预约设置信息
    public OrderSetting findByOrderDate(Date orderDate);
    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);
}


